/**
 * 
 * @author bigk
 * @version 0.8.5
 * 
 * 
 * Copyright (C) 2012  bigktheone@gmail.com

 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 */
package bigk.pluzzdl;



import java.io.File;

import bigk.pluzzdl.model.PluzzList;

public final class Globals {
	
	public final static int APP_LEVEL = Level.FINEST;
	public final static String APP_PROXY = null;
	

	public static final String APP_CONFIG_DIRNAME = "jpluzzdl";
	public static final String APP_CONFIG_FILENAME = "jpluzzdl.cfg";
	
	private static PluzzList pluzzList;

	public static PluzzList getPluzzList() {
		return pluzzList;
	}

	public static void setPluzzList(PluzzList pluzzList) {
		Globals.pluzzList = pluzzList;
	}

	public static void setupLogger(int level, Logger logger) {
		logger.setLevel(level);
	}

	public static File getConfigPath() {
		
		return new File("/sdcard", Globals.APP_CONFIG_DIRNAME);
	}
	
}
